package cn.kgc.javaweb.service;

import cn.kgc.javaweb.entity.Role;

import java.util.HashMap;
import java.util.List;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/5/23
 * @Description:
 */
public interface RoleService {
    List<Role> getList();

    HashMap<String, Object> selectPage(String page, String limit);

    HashMap<String, Object> addRole(String roleName);

    Role getById(Integer id);

    HashMap<String, Object> updateRole(String roleName, Integer id);

    HashMap<String, Object> deleteById(Integer id);
}
